package com.ss.SmartStock.service;

import com.ss.SmartStock.mapper.ProductMapper;
import com.ss.SmartStock.pojo.entity.Product;
import com.ss.SmartStock.pojo.entity.ProductDetails;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-06-17
 */

public interface ProductDetailsService extends IService<ProductDetails> {
    /***
     *  查询所有商品详细信息
     */
    List<ProductDetails> selectAllProductDetails();

    /**
     * 根据操作人id查询对应商品详细信息
     */
    List<ProductDetails> selectAllpdByUid(Long id);

    /**
     * 插入语句
     */

    int insertProductDetails(ProductDetails productDetails);

}
